package cn.kgc.javase.day03;

/**
 * @author 课工场
 * @date 2024/6/27
 * @description  验证短路与  或
 *
 * &&
 *
 * ||
 */
public class Demo06 {

    public static void main(String[] args) {

        int num1 = 1;
        int num2 = 10;

        //  false
       boolean  b =  (num1>num2) && ((num1++)<num2);
        System.out.println(b);
        System.out.println(num1);

    }
}
